package org.jaychan.live.id.generate.interfaces;

public interface IdGenerateRpc {

    /**
     * 获取有序ID
     * @param id
     * @return
     */
    Long getSeqId(Integer id);


    /**
     * 获取无序ID
     * @param id
     * @return
     */
    Long getUnSeqId(Integer id);

}